package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品信息对象 fd_product
 *
 * @author ruoyi
 * @date 2025-05-12
 */
public class FdProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品id */
    private Long productId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 产品类型 */
    private Long productTypeId;

    /** 产品类型 */
    @Excel(name = "产品类型名称")
    private String productTypeName;

    /** 产品图片 */
    private String pics;

    /** 成本价 */
    @Excel(name = "成本价")
    private String basePrice;

    /** 销售价 */
    @Excel(name = "销售价")
    private String salePrice;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Integer storeCount;

    /** 内容介绍 */
    @Excel(name = "内容介绍")
    private String comment;

    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }

    public void setProductTypeId(Long productTypeId)
    {
        this.productTypeId = productTypeId;
    }

    public Long getProductTypeId()
    {
        return productTypeId;
    }
    public void setPics(String pics)
    {
        this.pics = pics;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }
    public String getPics()
    {
        return pics;
    }
    public void setBasePrice(String basePrice)
    {
        this.basePrice = basePrice;
    }

    public String getBasePrice()
    {
        return basePrice;
    }
    public void setSalePrice(String salePrice)
    {
        this.salePrice = salePrice;
    }

    public String getSalePrice()
    {
        return salePrice;
    }
    public void setStoreCount(Integer storeCount)
    {
        this.storeCount = storeCount;
    }

    public Integer getStoreCount()
    {
        return storeCount;
    }
    public void setComment(String comment)
    {
        this.comment = comment;
    }

    public String getComment()
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("productId", getProductId())
                .append("productCode", getProductCode())
                .append("name", getName())
                .append("model", getModel())
                .append("productTypeId", getProductTypeId())
                .append("pics", getPics())
                .append("basePrice", getBasePrice())
                .append("salePrice", getSalePrice())
                .append("storeCount", getStoreCount())
                .append("comment", getComment())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
